package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.third.SinoCamReceiveNestMove;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SinoCamReceiveNestMoveMapper extends SyMapper<SinoCamReceiveNestMove> {

    @Select("DELETE FROM tb_third_sinocam_receive_nest_move WHERE sino_cam_id=#{sId}")
    void deletePreOrder(@Param("sId") Integer sId);

    @Select("DELETE FROM tb_third_sinocam_receive_nest_move WHERE id = #{id}")
    void deleteMesNest(@Param("id") Integer id);

    @Select("DELETE FROM tb_third_sinocam_receive_nest_move WHERE nest_id = #{nestId}")
    void deleteMesNestWithCode(@Param("nestId") String nestId);

}
